]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
js/main: Add docs to private function
authorCarlos Garnacho <carlosg@gnome.org>
Sat, 29 Jan 2022 00:14:56 +0000 (01:14 +0100)
committerCarlos Garnacho <carlosg@gnome.org>
Sat, 29 Jan 2022 00:32:42 +0000 (01:32 +0100)
Oh, well...

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2045>

js/ui/main.js

index 14a541f0a62f7dee04a935c3b82d3bbc04a5e1c4..6ed34a7cd5b66b0c6e4a610b07b5bb91a9fbc62c 100644 (file)
@@ -503,6 +503,14 @@ function notifyError(msg, details) {
     notify(msg, details);
 }
 
+/**
+ * _findModal:
+ *
+ * @param {Clutter.Grab} grab - grab
+ *
+ * Private function.
+ *
+ */
 function _findModal(grab) {
     for (let i = 0; i < modalActorFocusStack.length; i++) {
         if (modalActorFocusStack[i].grab === grab)